function Delete() {
  var gc = getCheckedQstring("files[]");
  var filecount = gc.count, filestring = gc.querystring;
  
  if(filecount < 1) {
    alert("Please select any file (or) folder to delete!");
    return;
  }
  
  if(confirm('Do you want to delete these [' + filecount + '] file(s), folder(s) and its contents?')) {
      $.ajax({
        type: "get",
        url: "modules/delete/delete.php",
        data: "t=" + new Date() + filestring,
        dataType: "text",
        success: function(data) {
          alert(data);
          Browse($("#currentdir").val());
        }
      });
    }
}
